package com.hspedu.poly_;

/**
 * @author 谷其昊
 * @version 1.0
 * @date 2022/1/21
 * @time 20:18
 */
public class Cat extends Animal {
    public Cat(String name) {
        super(name);
    }

    @Override
    public void eat(){
        System.out.println("cat eat");
    }

    public void catchMouse(){
        System.out.println("cat catch mouse");
    }
}
